package com.library.dao;

import com.library.bean.Admin;

public interface AdminDao {
	/**
	 * 根据账号和密码查询用户
	 * @param adminName
	 * @param passWord
	 * @return
	 */
	Admin selectAdmin(String adminName,String passWord);
	
	/**
	 * 根据账号来查询用户
	 * @param adminName
	 * @return
	 */
	Admin selectAdminByadminName(String adminName);
}
